(function(a){"use strict";BX.ready((function(){a('[target="_popup"]:not([data-url])').fancybox({type:"iframe"});a('[target="_popup"][data-url]').on("click",(function(e){e.preventDefault();a.fancybox.open({src:this.dataset.url,type:"iframe",afterShow:t},{iframe:{scrolling:"auto"}})}));a("[data-pseudo-url*='_popup']").on("click",(function(e){e.preventDefault();var r=BX.Landing.Utils.data(this,"data-pseudo-url");if(r.href&&r.enabled){var n=r.href;if(BX.type.isPlainObject(r.attrs)&&r.attrs["data-url"]){n=r.attrs["data-url"]}a.fancybox.open({src:n,type:"iframe",afterShow:t},{iframe:{scrolling:"auto"}})}}));function t(a,t){var e=t.$slide.find("iframe")[0];void BX.Landing.MediaPlayer.Factory.create(e)}}))})(window.jQueryLanding||jQuery);
//# sourceMappingURL=popup_init.map.js